package com.data.unityplugin_market.util

import android.databinding.BindingAdapter
import android.widget.ImageView
import com.bumptech.glide.Glide

object BindingUtil{


    @BindingAdapter("loadImage")
    fun loadImage(imageView: ImageView, url: String) {

        Glide.with(imageView.getContext()).load(url)
                .error(null).into(imageView)
    }

}